<template>
	<view class="history">
		<common-list v-for="(item,index) in list" :key="index" :item="item" :index="index" />
	</view>
</template>

<script>
	import commonList from "../../components/common/common-list.vue"
	export default {
		components: {
			commonList
		},
		noLoad() {
			// 取出历史记录
			let list = uni.getStorage({
				key: 'history',
				success: res => {
					this.list = JSON.parse(res);
				}
			})
		},
		data() {
			return {
				list: [],
			};
		},
		methods: {},
	}
</script>

<style lang="scss">

</style>
